

import xml.etree.ElementTree as ET
xml_string = '''  
<data-bus>  
   <FAWENXLH>2023082400031060</FAWENXLH>  
   <TONGZHISID>10173634363592</TONGZHISID>  
   <TONGZHISXJ>  
       <QIANMINGXX>  
           <QIANMINGXX>10173634363592_ca.txt</QIANMINGXX>  
       </QIANMINGXX>  
       <SHUXINGXX>  
           <ANJUANH>10000509145451</ANJUANH>  
           <WEINEIBH></WEINEIBH>  
           <DMHFLAG>1</DMHFLAG>  
           <NEIBUBH></NEIBUBH>  
           <SHENQINGR>20211231</SHENQINGR>  
           <FAMINGLX>0</FAMINGLX>  
           <ZIPBID>109068794323</ZIPBID>  
           <TONGZHISBM>210403</TONGZHISBM>  
           <TONGZHISMC>第 N 次审查意见通知书</TONGZHISMC>  
           <FAWENR>20230824</FAWENR>  
           <SHENQINGH>2021116827156</SHENQINGH>  
           <FAMINGMC>一种钴溶液除铬的方法</FAMINGMC>  
           <QIXIAN>76</QIXIAN>  
           <YUQIRQ>2023-11-08</YUQIRQ>  
       </SHUXINGXX>  
       <FUJIANLB></FUJIANLB>  
       <ADDITIONAL></ADDITIONAL>  
   </TONGZHISXJ>  
</data-bus>  

'''
root = ET.fromstring(xml_string)
# 提取 FAWENXLH  
FAWENXLH = root.find(".//FAWENXLH").text  
print("FAWENXLH:", FAWENXLH)
# 提取 TONGZHISID  
TONGZHISID = root.find(".//TONGZHISID").text  
print("TONGZHISID:", TONGZHISID)
# 提取 TONGZHISXJ 中的 QIANMINGXX  
QIANMINGXX = root.find(".//TONGZHISXJ//QIANMINGXX//QIANMINGXX").text  
print("QIANMINGXX:", QIANMINGXX)
# 提取 TONGZHISXJ 中的 SHUXINGXX  
SHUXINGXX = root.find(".//TONGZHISXJ//SHUXINGXX")
ANJUANH = SHUXINGXX.find(".//ANJUANH").text  
print("ANJUANH:", ANJUANH)
SHENQINGR = SHUXINGXX.find(".//SHENQINGR").text  
print("SHENQINGR:", SHENQINGR)


ANJUANH = SHUXINGXX.find(".//FAMINGMC").text  
print("FAMINGMC:", ANJUANH)





# 提取其他信息，你可以根据需要继续提取其他信息  



























